package com.get.backstage.common.result;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
@Getter
public enum ResEnum {

    SUCCESS(200, "成功"),
    FAIL(-1, "失败"),
    ERROR_400(400, "错误的请求"),
    ERROR_404(404, "访问资源不存在"),
    ERROR_500(500, "服务器异常"),
    ERROR_403(403, "未登录"),
    ERROR_401(401, "账号密码错误"),
    ERROR_402(402, "参数错误");
    private Integer code;
    private String msg;


}
